package com.roc.steelend.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.PipedReader;
import java.io.Serializable;
import java.math.BigInteger;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "warehouse")
public class Warehouse implements Serializable {

        @TableId(type = IdType.AUTO)
        private Integer warehouseId;

        private String warehouseName;
        private String address;
        @JsonSerialize(using = ToStringSerializer.class)
        private BigInteger phone;
        private String remark;
        private String responsiblePerson;
}
